MuleSoft Accelerator for Manufacturing icon

MuleSoft Accelerator for Manufacturing

(0 reviews)

SAP S4HANA setup guide for sales rebate management

Communication arrangements

Below are the configuration arrangements required for this use case:

Communication ArrangementService NameProtocol
SAP_COM_0002Journal Entry - Post (Synchronous)SOAP

Custom fields

Salesforce ObjectSAP Field NameData TypeLengthUniqueExternalID
Rebate PaymentYY1_SME_ExtPaymID_MFGText20YY

This field is also enabled to be used in the SOAP Service mentioned in the previous section. To do that, use the Fiori app Custom Fields and Logic, section SOAP APIs. Look for the service and enable it.

Custom CDS View

  • Name: YY1_JournalEntryItem_Info
  • Representative Key: AccountingDocument
  • Scenario: External API
  • Data Source: I_JournalEntryItem
  • Elements:
AliasPathTypeKey
SourceLedgerI_JournalEntryItem.SourceLedgerCHAR (2)Yes
CompanyCodeI_JournalEntryItem.CompanyCodeCHAR (4)Yes
FiscalYearI_JournalEntryItem.FiscalYearNUMC (4)Yes
AccountingDocumentI_JournalEntryItem.AccountingDocumentCHAR (10)Yes
LedgerGLLineItemI_JournalEntryItem.LedgerGLLineItemCHAR(6)Yes
LedgerI_JournalEntryItem.LedgerCHAR(2)Yes
AccountingDocumentTypeI_JournalEntryItem.AccountingDocumentTypeCHAR(2)No
CustomerI_JournalEntryItem.CustomerCHAR(10)No
YY1_SME_ExtPaymID_MFG_JEII_JournalEntryItem.YY1_SME_ExtPaymID_MFG_JEICHAR(20)No
CreationDateI_JournalEntryItem._JournalEntry.AccountingDocumentCreationDateDATS (8)No
LastChangeDateI_JournalEntryItem._JournalEntry.LastChangeDateDATS (8)No
IsReversedI_JournalEntryItem._JournalEntry.IsReversedCHAR(1)No
ReversalReasonI_JournalEntryItem._JournalEntry.ReversalReasonCHAR(2)No
ReverseDocumentI_JournalEntryItem._JournalEntry.ReverseDocumentCHAR(10)No
ClearingDateI_JournalEntryItem.ClearingDateDATS (8)No
ClearingAccountingDocumentI_JournalEntryItem.ClearingAccountingDocumentCHAR(10)No
ClearingDocumentLastChangeDateI_JournalEntryItem._ClearingAccountingDocument.LastChangeDateDATS (8)No
ClearingDocumentCreationDateI_JournalEntryItem._ClearingAccountingDocument.AccountingDocumentCreationDateDATS (8)No
ClearingDocumentCreationTimeI_JournalEntryItem._ClearingAccountingDocument.CreationTimeTIMS (6)No
AmountInCompanyCodeCurrencyI_JournalEntryItem._ClearingAccountingDocument._OperationalAcctgDocItem.AmountInCompanyCodeCurrencyCURR (23,2)No
AmountInTransactionCurrencyI_JournalEntryItem._ClearingAccountingDocument._OperationalAcctgDocItem.AmountInTransactionCurrencyCURR (23,2)No
TransactionCurrencyI_JournalEntryItem._ClearingAccountingDocument._OperationalAcctgDocItem.TransactionCurrencyCUKY (5)No
CompanyCodeCurrencyI_JournalEntryItem._ClearingAccountingDocument._OperationalAcctgDocItem.CompanyCodeCurrencyCUKY (5)No

A custom communication scenario has to be created adding this CDS view as an inbound service. Once published, create a communication arrangement using that custom communication scenario. That arrangement will have the service URL to retrieve the Journal Entry Item information.


Reviews

TypeCustom
OrganizationMuleSoft
Published by
MuleSoft Solutions
Published onSep 6, 2022
Asset overview

Asset versions for 1.2.x

Asset versions
VersionActions
1.2.0

Categories

Industry Vertical
ManufacturingNo values left to add
Solution
Accelerator
ManufacturingNo values left to add

Tags